/*
 *    Copyright (c) 2018-2025, boss All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the boss developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: boss
 */

package com.hopes.bizz.basic.park.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.hopes.bizz.common.core.annotation.ExcelDictImportValidate;
import com.hopes.boss.common.entity.ExcelDTO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;


/**
 * 禁限控目录
 *
 * @author pig
 * @date 2023-10-23 14:45:34
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class BaseParkForbiddenControlExcelDTO extends ExcelDTO {

    private static final long serialVersionUID = 1L;


	/**
	* 禁限控类型  1:禁止(淘汰)类  2:限(控)制类
	*/
    @ExcelProperty("禁限控类型")
	@NotBlank(message = "禁限控类型不能为空")
	@ExcelDictImportValidate(enumResolver = "control_type",message = "禁限控类型不存在")
    private String controlType;

	/**
	* 行业类型    1:石化化工 2:医药  3:轻工  4:民爆产品  5:其他
	*/
    @ExcelProperty("行业类型")
	@NotBlank(message = "行业类型不能为空")
	@ExcelDictImportValidate(enumResolver = "trade_type",message = "行业类型不存在")
    private String tradeType;

	/**
	* 品名
	*/
    @ExcelProperty("品名")
	@NotBlank(message = "品名不能为空")
    private String productName;

	/**
	 * 别名
	 */
	@ExcelProperty("别名")
	@NotBlank(message = "别名不能为空")
	private String productAlias;

	/**
	* CAS号
	*/
    @ExcelProperty("CAS号")
	@NotBlank(message = "CAS号不能为空")
    private String casNum;

	/**
	* 危险性类别
	*/
    @ExcelProperty("危险性类别")
    private String hazardClass;

	/**
	* 原因
	*/
    @ExcelProperty("原因")
    private String controlReason;

	/**
	* 政策依据
	*/
    @ExcelProperty("政策依据")
    private String policyBasis;


	/**
	* 备注
	*/
    @ExcelProperty("备注")
    private String remark;

}
